import request from '@/request/request.js';

// 设备解锁
export const unlock = (data) => {
	return request({
		url: `/customer/app/sub/plan/app/device/unlock`,
		method: 'get',
		data
	})
}

// 维保报告列表
export const reportList = (data) => {
	return request({
		url: `/customer/app/report/list`,
		method: 'get',
		data: data
	})
}

// 维保报告详情
export const reportDetails = (data) => {
	return request({
		url: `/customer/app/report/${data}`,
		method: 'get',
	})
}

// 查询附件
export const annexList = (id) => {
	return request({
		url: `/customer/app/contract/annex/getAnnex/${id}`,
		method: 'get'
	})
}

// 审核报告
export const reportReview = (data) => {
	return request({
		url: `/customer/app/report/review`,
		method: 'post',
		data,
	})
}

// 获取签名列表
export const getSignData = (data) => {
  return request({
		url: `/customer/app/sign/list`,
		method: 'get',
		data
	})
}

// 获取方案列表
export const getProgrammeList = (data) => {
  return request({
		url: `/customer/app/contract/programmeList`,
		method: 'get',
		data
	})
}